package com.ler.yrmall.order.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Leron
 * @version 1.0
 * @date 2021/2/1 12:26
 */
@ConfigurationProperties(prefix = "ddmall.thread")
@Data
@Component
public class MyThreadProperties {

    private Integer coreSize;

    private Integer maxSize;

    private Integer keepActiveTime;

}
